#创建目录
mkdir DCS-AI-BUSSINESS-CENTER-2.2.0
cd DCS-AI-BUSSINESS-CENTER-2.2.0

#拉取MindCluster组件镜像
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/clusterd:v7.1.RC1
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/noded:v7.1.RC1
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/ascend-operator:v7.1.RC1
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/vc-controller-manager:v1.7.0-v7.1.RC1
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/vc-scheduler:v1.7.0-v7.1.RC1

#重新打TAG
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/clusterd:v7.1.RC1  clusterd:v7.1.RC1
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/noded:v7.1.RC1 noded:v7.1.RC1
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/ascend-operator:v7.1.RC1 ascend-operator:v7.1.RC1
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/vc-controller-manager:v1.7.0-v7.1.RC1 volcanosh/vc-controller-manager:v1.7.0-v7.1.RC1
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/vc-scheduler:v1.7.0-v7.1.RC1 volcanosh/vc-scheduler:v1.7.0-v7.1.RC1

#保存为离线tar包
docker save clusterd:v7.1.RC1 -o Ascend-mindxdl-clusterd_v7.1.RC1_linux-aarch64.tar
docker save noded:v7.1.RC1 -o Ascend-mindxdl-noded_v7.1.RC1_linux-aarch64.tar
docker save ascend-operator:v7.1.RC1 -o Ascend-mindxdl-ascend-operator_v7.1.RC1_linux-aarch64.tar
docker save volcanosh/vc-controller-manager:v1.7.0-v7.1.RC1 -o Ascend-mindxdl-vc-controller-manager_v1.7.0-v7.1.RC1_linux-aarch64.tar
docker save volcanosh/vc-scheduler:v1.7.0-v7.1.RC1 -o  Ascend-mindxdl-vc-scheduler_v1.7.0-v7.1.RC1_linux-aarch64.tar

#拉取NPU基础使能插件镜像
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/npu-exporter:v7.1.RC1
docker pull swr.cn-south-1.myhuaweicloud.com/ascendhub/ascend-k8sdeviceplugin:v7.1.RC1

#重新打tag
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/npu-exporter:v7.1.RC1 npu-exporter:v7.1.RC1
docker tag swr.cn-south-1.myhuaweicloud.com/ascendhub/ascend-k8sdeviceplugin:v7.1.RC1  ascend-k8sdeviceplugin:v7.1.RC1

#保存为离线tar包
docker save npu-exporter:v7.1.RC1 -o Ascend-mindxdl-npu-exporter_v7.1.RC1_linux-aarch64.tar
docker save ascend-k8sdeviceplugin:v7.1.RC1 -o Ascend-mindxdl-device-plugin_v7.1.RC1_linux-aarch64.tar


#下载配套Ascend-docker-runtime
wget https://gitcode.com/Ascend/mind-cluster/releases/download/v7.1.RC1/Ascend-docker-runtime_7.1.RC1_linux-aarch64.run






 

